package com.yc.http.adapter;

/**
 * @program: Study
 * @description:
 * @author: 作者
 * @create: 2021-07-07 19:32
 */
public class Adapter2 implements NetToUsb{

    private Adaptee adaptee;

    public Adapter2(Adaptee adaptee) {
        this.adaptee = adaptee;
    }

    @Override
    public void handleRequest() {
        adaptee.request();  //可以上网了
    }
}
